package com.um.jdy.platform.platform.entity.dto;

import com.um.springboot.starter.orm.entity.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;


/**
 * @author 邓南辉
 * 日期 2023/2/10
 * 版权所有 广州优匠科技有限公司
 */
@Data
public class SmsDTO extends BaseDTO {

    @ApiModelProperty(value = "开启短信")
    protected String smsIsEnable;

    @ApiModelProperty(value = "短信平台：aliyunSmsServiceImpl-阿里 tencentSmsServiceImpl-腾讯云")
    protected String smsType;

    @NotBlank
    @ApiModelProperty(value = "短信签名")
    protected String smsSignature;

    @NotBlank
    @ApiModelProperty(value = "短信AccessKeyId")
    protected String smsAccessKeyId;

    @NotBlank
    @ApiModelProperty(value = "短信AccessKeySecret")
    protected String smsAccessKeySecret;

    @NotBlank
    @ApiModelProperty(value = "短信模板编码")
    protected String smsTemplateCode;
}
